package com.hrp.hrpdao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.mapping.StatementType;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2019-05-09.
 */
@Mapper
public interface AccountsReceivableDao {

    @Options(statementType= StatementType.CALLABLE)
    @Select({ " exec usp_uimms_getAccountsReceivableInfo #{startTime},#{endTime},#{receiverIdStr} " })
    List<Map<String,Object>> getAccountsReceivableByPage(Map<String, String> params);

    @Options(statementType= StatementType.CALLABLE)
    @Select({ " exec uimms_datagrid_mergeCells #{startTime},#{endTime},#{receiverIdStr} " })
    List<Map<String,Object>> getdatagridMergeCells(Map<String, String> params);
}
